package com.ch.forum.service;

import com.ch.forum.bo.ResponseResult;
import com.ch.forum.model.BuySaleReward;

public interface BuySaleRewardService {

    ResponseResult recharge(BuySaleReward param);

    ResponseResult reflect(BuySaleReward param);

    ResponseResult buyIn(BuySaleReward param);

    ResponseResult saleOut(BuySaleReward param);

    /**
     * check
     * @param userId
     * @param type
     * @param rewardId
     * @return
     */
    ResponseResult updatePoint(Long userId, int type, Long rewardId);

    /**
     *  充值审核列表
     * @return
     */
    ResponseResult rechargeList();

    /**
     *  提现审核列表
     * @return
     */
    ResponseResult findReflectList();

    /**
     * 修改状态
     * @param id
     * @return
     */
    ResponseResult updateStatus(Long id);

    /**
     * 查找用户买入卖出记录
     * @param id
     * @return
     */
    ResponseResult findUserReard(Long id);

}
